home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998…tember: Reference Library / Dev.CD Sep 98 RL2.toast / What's New / Software Development Kits / MacOS USB DDK / Interfaces / SIOW.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-07-20  |  1.5 KB  |  53 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        SIOW.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Version:    xxx put version here xxx
  7.  
  8.     Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  9.  
  10.  
  11. */
  12.  
  13. /*------------------------------------------------------------------------------
  14. #    SIOW.h
  15. #    Simple Inpue/Output Window header
  16. #    Apple Copyright 1989-1990
  17. #
  18. #    The names for these constants have been selected to satisfy both the
  19. #    standards set up by Apple for applications, and by ANSI for C programming.
  20. #
  21. #-----------------------------------------------------------------------------*/
  22.  
  23. #ifndef __SIOW__
  24. #define __SIOW__
  25.  
  26. #ifndef __kPrefSize
  27. #define __kPrefSize            122        /* Default max app size */
  28. #endif
  29. #ifndef __kMinSize
  30. #define __kMinSize            38        /* Default min app size */
  31. #endif
  32.  
  33. /* The following constants are used to identify menus and their items. */
  34. /* NOTE: resources IDs 20000-20010 are reserved fur use by SIOW */
  35.  
  36. #define    __mApple            20000    /* Apple menu */
  37. #define    __mFile                20001    /* File menu */
  38. #define    __mEdit                20002    /* Edit menu */
  39. #define __mFont                20003    /* Font menu */
  40. #define __mSize                20004    /* Font menu */
  41.  
  42. #define    __rMenuBar            20000    /* application's menu bar */
  43. #define    __rAboutAlert        20000    /* about alert */
  44. #define    __rUserAlert        20001    /* user error alert */
  45. #define __rSaveAlert        20002    /* save changes alert */
  46. #define    __rDocWindow        20000    /* application's window */
  47. #define    __rVScroll            20000    /* vertical scrollbar control */
  48. #define    __rHScroll            20001    /* horizontal scrollbar control */
  49. #define    __kErrStrings        20000    /* error string list */
  50.  
  51. #endif
  52.  
  53.